import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import VueRouter from 'vue-router'
import router from './router'
import store from './store'

Vue.config.productionTip = false

Vue.use(ElementUI)

// Vue.toast = Vue.prototype.$toast = (msg, type = 'success') => {
// 	Vue.prototype.$message({
// 		showClose: true,
// 		message: msg,
// 		type: type
// 	})
// }

new Vue({
	render: h => h(App),
	router,
	store
}).$mount('#app')
